#ifndef _APP_STORAAGE_H
#define _APP_STORAAGE_H

struct motor_info {
    uint32_t speed;
    uint32_t accel;
    uint64_t curpos;
    uint64_t maxpos;
};

void app_storage_init(void);
int app_storage_get_motor_info(struct motor_info *info);
int app_storage_set_motor_speed(uint32_t speed);
int app_storage_set_motor_accel(uint32_t accel);
int app_storage_set_motor_curpos(uint64_t curpos);
int app_storage_set_motor_maxpos(uint64_t maxpos);

#endif